let mysql = require('mysql2')

// let connect = mysql.createConnection({
//     host: 'localhost',
//     user: 'root',
//     database: 'lll',
//     password: '123456'
// })
let connect = mysql.createPool({
    host: 'localhost',
    user: 'root',
    password: '123456',
    database: 'lll',
    connectionLimit: 10,
    queueLimit: 0,
    charset: 'utf8'
})

module.exports = connect